<?php
namespace tools\controllers;

use yii\web\Controller;

// json相关
class JsonController extends Controller
{
    public $layout = false;
    
    // json格式化
    public function actionIndex()
    {
        return $this->render("index");
    }
    
    public function actionIndex2()
    {
        return $this->render("index2");
    }
}